package io.dy.model;
/**
 * @author : dmj
 * @date: 2024/12/18 9:14 上午
 * @description:
 */
public class Hero {

    private String name;

    private Integer strength;

    public Hero(String name, Integer strength) {
        this.name = name;
        this.strength = strength;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStrength() {
        return strength;
    }

    public void setStrength(Integer strength) {
        this.strength = strength;
    }

    @Override
    public String toString() {
        return "Hero{" +
                "name='" + name + '\'' +
                ", strength=" + strength +
                '}';
    }
}
